<style>
    #bing-head_img{
        left: 0;
        top: 0;
        position: absolute;
    }
</style>
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label required">用户头像</label>
            <div class="layui-input-block layuimini-upload" style="width: 320px;height: 130px;line-height: 100px;">
                <input name="head_img" type="text" class="layui-hide" lay-verify="required" lay-reqtext="请上传用户头像" placeholder="请上传用户头像" value="{$row.head_img|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="head_img" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_head_img" data-upload-select="head_img" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" name="true_name" lay-verify="required" class="layui-input"  placeholder="请输入真实姓名" value="{$row.true_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">银行名称</label>
            <div class="layui-input-block">
                <select name="bank" lay-verify="required">
                    {foreach $getBankList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.bank"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
		<div class="layui-form-item">
            <label class="layui-form-label">银行卡号</label>
            <div class="layui-input-block">
                <input type="text" name="bank_account" lay-verify="required" class="layui-input"  placeholder="请输入银行卡号" value="{$row.bank_account|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开户行</label>
            <div class="layui-input-block">
                <input type="text" name="bank_name" lay-verify="required" class="layui-input"  placeholder="请输入开户行" value="{$row.bank_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" name="phone" lay-verify="required|phone" class="layui-input"  placeholder="请输入手机号" value="{$row.phone|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <select name="gender" >
                    {foreach $getGenderList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.gender"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">年龄</label>
            <div class="layui-input-block">
                <input type="number" name="age" lay-verify="number" class="layui-input"  placeholder="请输入年龄" value="{$row.age|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">入职日期</label>
            <div class="layui-input-block">
                <input type="text" name="entry_date" data-date="" data-date-type="date" class="layui-input"  placeholder="请输入入职日期" value="{$row.entry_date|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">基本工资</label>
            <div class="layui-input-block">
                <input type="text" name="base_salary" class="layui-input"  placeholder="请输入基本工资" value="{$row.base_salary|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <select name="status" >
                    {foreach $getStatusList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.status"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>